using System.Collections.Generic;
using UltimateGameTools;
using UnityEngine;

namespace Yoozoo.Gameplay.RTS
{
    [System.Serializable]
    public class GPUSkinning_BoneNode : ScriptableObject
    {
        public List<GPUSkinningAnim> anims = new List<GPUSkinningAnim>();
    }
    
    [System.Serializable]
    public class GPUSkinningAnimFrame
    {
        public int frame;
        public float time;
        public Vector3 position;
    }

    [System.Serializable]
    public class GPUSkinningBone
    {
        public string boneName;
        public BoneBinder.BoneType boneType;
        public List<GPUSkinningAnimFrame> frames;
    }
    
    [System.Serializable]
    public class GPUSkinningAnim
    {
        public string animName;
        public List<GPUSkinningBone> bones;
    }
}